﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Default : System.Web.UI.Page
{
    
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }

    //for Mobile device
    protected override void OnInit(EventArgs e)
    {
        //string userAgent = "Android";
        string userAgent = Request.UserAgent;
        if (userAgent.Contains("BlackBerry")
          || (userAgent.Contains("iPhone") 
          || (userAgent.Contains("Android"))))
        {
            Server.Transfer("MobileWebSite/Default.aspx");
        }
    }
    protected void OrderButton_Click(object sender, EventArgs e)
    {
        Response.Redirect("Menu.aspx");
    }
}